<?php

class Install_IndexController extends Zend_Controller_Action {

    public function init() {
        // Cach 1 va 2: cach nay ten layout fai dat trong thu muc application/layouts
        $this->_helper->layout->setLayout('install'); // dung layout install cach 1

        /* Zend_Layout::startMvc(array('layout' => 'install')); // dung layout install cach 2
          // Cach 3, thu muc chua layout do minh chi dinh
          $layoutPath = APPLICATION_PATH . '/layouts/scripts';
          $option = array('layout' => 'install',
          'layoutPath' => $layoutPath);
          Zend_Layout::startMvc($option); */
    }

    public function indexAction() {
        // action body
    }

}